package com.spring.springboot.result;



import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 系统参数配置表(Config)返回体
 *
 * @author 宋义州
 * @since 2022-07-22 10:51:07
 */
@Data
@ApiModel(description = "Config返回体")
public class ConfigResult {

    @ApiModelProperty(value = "参数值")
    private String value;

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "编码")
    private String code;

    @ApiModelProperty(value = "启用状态(0：启用、1：禁用)")
    private Integer status;

    @ApiModelProperty(value = "删除标记(0：未删除、1：已删除)")
    private Integer delFlag;

    @ApiModelProperty(value = "描述")
    private String introduce;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
}

